package router

import (
	"tech-sys-mgr/hander"

	"github.com/gin-gonic/gin"
)

func Init() *gin.Engine {
	r := gin.Default()
	r.POST("/login", hander.Login)
	r.GET("/list", hander.List)
	return r
}
